package me.yushuai.wukong.base.convertor;

import me.yushuai.wukong.base.api.dto.ConfGroupDTO;
import me.yushuai.wukong.base.entity.ConfGroup;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

/**
 * @author zhoushuai@189.cn
 * @since 2022-12-12
 */
@Mapper(componentModel = "spring")
public interface ConfGroupConvertor {

    @Mapping(target = "showSequence", ignore = true)
    @Mapping(target = "modifyFlag", ignore = true)
    ConfGroupDTO mapToConfGroupDto(ConfGroup confGroup);

}
